package com.walker.taogong.datamodel;

import java.util.Set;

public class User
{   
    private int id;
    private String userName;
    private String password;
    private String email;
    private String mobile;
    
    //该用户所参与的任务
    private Set<TaskHistory> allTasks;
    
    private int status;
    
    
    public int getId()
    {
        return id;
    }
    public void setId(int id)
    {
        this.id = id;
    }
    public String getUserName()
    {
        return userName;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }
    public String getPassword()
    {
        return password;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }
    public int getStatus()
    {
        return status;
    }
    public void setStatus(int status)
    {
        this.status = status;
    }
    
    public String getEmail()
    {
        return email;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }
    public String getMobile()
    {
        return mobile;
    }
    public void setMobile(String mobile)
    {
        this.mobile = mobile;
    }
    public Set<TaskHistory> getAllTasks()
    {
        return allTasks;
    }
    public void setAllTasks(Set<TaskHistory> allTasks)
    {
        this.allTasks = allTasks;
    }
    @Override
    public String toString()
    {
        return "UserData [id=" + id + ", userName=" + userName + ", password="
                + password + ", email=" + email + ", mobile=" + mobile
                + ", status=" + status + "]";
    }
    
    
    
    
}
